<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">

  <title>用户登录</title>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<!--  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap/css/bootstrap.min.css">-->
  <link rel="stylesheet" href="__STATIC__/dist/plugins/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/ionicons/css/ionicons.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/adminLTE/css/AdminLTE.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/iCheck/square/blue.css">
  <link rel="stylesheet" type="text/css" href="__STATIC__/my/css/index.css"/>
  <link rel="stylesheet" type="text/css" href="__STATIC__/my/css/iconfont.css"/>
  <link rel="stylesheet" type="text/css" href="__STATIC__/my/css/bootstrap.min.css">

</head>
<body>
<div class="mt-5" id="login-box">
  <h1><strong><span>农</span>产品</strong>后台管理系统</h1>
  <h6 >登录界面</h6>
  <form action="{:url('index/do_login')}" method="post">
    <div class="input-box mt-4">
      <i class="iconfont">&#xe60f;</i>
      <input type="text" name="name" class="form-control" placeholder="用户名">
    </div>
    <div class="input-box mt-4">
      <i class="iconfont">&#xe606;</i>
      <input type="password" name="pwd" class="form-control" placeholder="密码">
    </div>
    <div class="radio-box mt-4">
      <input type="radio" class="option btn-check" name="class" id="option1" value="Q" checked>
      <label class="btn btn-secondary" for="option1">企业</label>

      <input type="radio" class="option btn-check" name="class" id="option2" value="G">
      <label class="btn btn-secondary" for="option2">政府</label>
    </div>

    <button type="submit" class="mt-4 mb-3">登录</button>
  </form>
  <div class="mb-3">
    <a href="{:url('index/register')}" class="register_a">新用户注册</a>
  </div>
</div>


<script src="__STATIC__/dist/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="__STATIC__/dist/plugins/bootstrap/js/bootstrap.min.js"></script>
<!--<script src="__STATIC__/dist/plugins/iCheck/icheck.min.js"></script>-->
<script>
  $(function() {
    $('input').iCheck({
      checkboxClass: 'icheckbox_square-blue',
      radioClass: 'iradio_square-blue',
      increaseArea: '20%' // optional
    });
  });
</script>

</body>

</html>